<?php /* Smarty version 2.6.20, created on 2013-05-25 01:50:38
         compiled from _core/_include/__database/purchasenote.class.tpl */ ?>
function PurchaseNote() {
};

PurchaseNote.instance = function() {
  return { trackId: MiscUtils.unique(),
           author: '',
           date: SimpleDate.create(),
           content: '',
           cancelled: 0
         }
};